package com.httpDemo.doMain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用于swagger响应参数测试
 * 
 * @author Administrator
 *
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "响应参数", description = "响应参数描述") // 请求或响应实体描述
public class ResultObject {

	@ApiModelProperty(name = "code", value = "状态码", required = true) // 字段描述
	private int code;
	@ApiModelProperty(name = "code", value = "响应数据", required = true)
	private Object data;
}
